projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1d1f13
)
GtkSeparator: Set orientable style classes initially
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 18 Jul 2014 23:39:44 +0000
(19:39 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 18 Jul 2014 23:39:44 +0000
(19:39 -0400)
This was an omission, horizontal/vertical would only be set
when the orientation is changed.
gtk/gtkseparator.c
patch
|
blob
|
history
diff --git
a/gtk/gtkseparator.c
b/gtk/gtkseparator.c
index 8c6d49254e57114e055209007534bb54383336fa..ef36d0e10cd08734820aa8e0e273a1e69d4e49e5 100644
(file)
--- a/
gtk/gtkseparator.c
+++ b/
gtk/gtkseparator.c
@@
-212,6
+212,7
@@
gtk_separator_init (GtkSeparator *separator)
context = gtk_widget_get_style_context (GTK_WIDGET (separator));
gtk_style_context_add_class (context, GTK_STYLE_CLASS_SEPARATOR);
+ _gtk_orientable_set_style_classes (GTK_ORIENTABLE (separator));
}
static void